insight_threshold
Configuration for Thresholds resource.
Read/write properties
servicenow_profile<String>
Servicenow Profile.
rule<String>
Rule.
mail_profile<String>
Mail Profile.
exporter_id<Double>
Exporter Id.
resource_type<String>
Resource Type.
region<String>
Region Code.
Maximum length = 256
reference_key<String>
Reference Key.
name<String>
name.
ip_address<String>
Field to store the ip address as it is along with any extension.
Maximum length = 512
group_name<String>
Group Name.
pagerduty_profile<String>
PagerDuty Profile.
is_enabled<String>
true or false.
sms_profile<String>
SMS Profile.
country<String>
Country Code.
Maximum length = 256
city<String>
City.
Maximum length = 256
id<String>
Id is system generated key for all the Thresholds configuration .
Maximum length = 256
feature<String>
feature.
stylebook_flag<Boolean>
Stylebook threshold configuration true or false.
duration<String>
duration of metric to be checked against threshold.
slack_profile<String>
Slack Profile.
ctnsappname<String>
AppName.
Read only properties
rpt_sample_time<Double>
Report Sample time..
tenant_name<String>
Tenant Name.
Operations
NOTE: In request payload, Mandatory parameters are marked red and bold.
The following parameters can be used in the nitro request :
onerror <String_value>
Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE
URL:https://<MGMT-IP>/nitro/v2/config/insight_threshold/id_value<String>
HTTPS Method:DELETE
Request Headers:
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value> }
URL:https://<MGMT-IP>/nitro/v2/config/insight_threshold
Query-parameters:
filter
https://<MGMT-IP>/nitro/v2/config/insight_threshold?filter=property-name1:property-value1,property-name2:property-value2
Use this query-parameter to get the filtered set of insight_threshold resources configured on the system. You can set a filter on any property of the resource.
pagesize=#no&pageno=#no
https://<MGMT-IP>/nitro/v2/config/insight_threshold?pagesize=#no&pageno=#no
Use this query-parameter to get the insight_threshold resources in chunks.
count
https://<MGMT-IP>/nitro/v2/config/insight_threshold?count=yes
Use this query-parameter to get the count of insight_threshold resources.
HTTPS Method:GET
Request Headers:
Accept:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Headers:
Content-Type:application/json
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value>, "insight_threshold":[{
"rpt_sample_time":<Double_value>,
"servicenow_profile":<String_value>,
"rule":<String_value>,
"mail_profile":<String_value>,
"exporter_id":<Double_value>,
"resource_type":<String_value>,
"tenant_name":<String_value>,
"region":<String_value>,
"reference_key":<String_value>,
"name":<String_value>,
"ip_address":<String_value>,
"group_name":<String_value>,
"pagerduty_profile":<String_value>,
"is_enabled":<String_value>,
"sms_profile":<String_value>,
"country":<String_value>,
"city":<String_value>,
"id":<String_value>,
"feature":<String_value>,
"stylebook_flag":<Boolean_value>,
"duration":<String_value>,
"slack_profile":<String_value>,
"ctnsappname":<String_value>}]}
URL:https://<MGMT-IP>/nitro/v2/config/insight_threshold/id_value<String>
HTTPS Method:GET
Request Headers:
Accept:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Headers:
Content-Type:application/json
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value>, "insight_threshold":[{
"rpt_sample_time":<Double_value>,
"servicenow_profile":<String_value>,
"rule":<String_value>,
"mail_profile":<String_value>,
"exporter_id":<Double_value>,
"resource_type":<String_value>,
"tenant_name":<String_value>,
"region":<String_value>,
"reference_key":<String_value>,
"name":<String_value>,
"ip_address":<String_value>,
"group_name":<String_value>,
"pagerduty_profile":<String_value>,
"is_enabled":<String_value>,
"sms_profile":<String_value>,
"country":<String_value>,
"city":<String_value>,
"id":<String_value>,
"feature":<String_value>,
"stylebook_flag":<Boolean_value>,
"duration":<String_value>,
"slack_profile":<String_value>,
"ctnsappname":<String_value>}]}
URL:https://<MGMT-IP>/nitro/v2/config/insight_threshold?onerror=<String_value>
HTTPS Method:POST
Request Headers:
Content-Type:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Request Payload:JSON
{"insight_threshold": {
"feature":<String_value>,
"duration":<String_value>,
"name":<String_value>,
"stylebook_flag":<Boolean_value>,
"group_name":<String_value>,
"ip_address":<String_value>,
"ctnsappname":<String_value>,
"pagerduty_profile":<String_value>,
"slack_profile":<String_value>,
"city":<String_value>,
"resource_type":<String_value>,
"region":<String_value>,
"id":<String_value>,
"reference_key":<String_value>,
"rule":<String_value>,
"sms_profile":<String_value>,
"mail_profile":<String_value>,
"exporter_id":<Double_value>,
"country":<String_value>,
"is_enabled":<String_value>,
"servicenow_profile":<String_value>}}
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value>, "insight_threshold":[{
"rpt_sample_time":<Double_value>,
"servicenow_profile":<String_value>,
"rule":<String_value>,
"mail_profile":<String_value>,
"exporter_id":<Double_value>,
"resource_type":<String_value>,
"tenant_name":<String_value>,
"region":<String_value>,
"reference_key":<String_value>,
"name":<String_value>,
"ip_address":<String_value>,
"group_name":<String_value>,
"pagerduty_profile":<String_value>,
"is_enabled":<String_value>,
"sms_profile":<String_value>,
"country":<String_value>,
"city":<String_value>,
"id":<String_value>,
"feature":<String_value>,
"stylebook_flag":<Boolean_value>,
"duration":<String_value>,
"slack_profile":<String_value>,
"ctnsappname":<String_value>}]}
URL:https://<MGMT-IP>/nitro/v2/config/insight_threshold/id_value<String>
HTTPS Method:PUT
Request Headers:
Content-Type:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Request Payload:JSON
{"insight_threshold":{
"id":<String_value>,
"duration":<String_value>,
"name":<String_value>,
"stylebook_flag":<Boolean_value>,
"feature":<String_value>,
"ctnsappname":<String_value>,
"pagerduty_profile":<String_value>,
"slack_profile":<String_value>,
"group_name":<String_value>,
"ip_address":<String_value>,
"resource_type":<String_value>,
"city":<String_value>,
"reference_key":<String_value>,
"region":<String_value>,
"sms_profile":<String_value>,
"mail_profile":<String_value>,
"rule":<String_value>,
"exporter_id":<Double_value>,
"country":<String_value>,
"is_enabled":<String_value>,
"servicenow_profile":<String_value>}}
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value>, "insight_threshold":[{
"rpt_sample_time":<Double_value>,
"servicenow_profile":<String_value>,
"rule":<String_value>,
"mail_profile":<String_value>,
"exporter_id":<Double_value>,
"resource_type":<String_value>,
"tenant_name":<String_value>,
"region":<String_value>,
"reference_key":<String_value>,
"name":<String_value>,
"ip_address":<String_value>,
"group_name":<String_value>,
"pagerduty_profile":<String_value>,
"is_enabled":<String_value>,
"sms_profile":<String_value>,
"country":<String_value>,
"city":<String_value>,
"id":<String_value>,
"feature":<String_value>,
"stylebook_flag":<Boolean_value>,
"duration":<String_value>,
"slack_profile":<String_value>,
"ctnsappname":<String_value>}]}